﻿
namespace Aeon.Emulator.Instructions.FPU
{
    internal static class Fimul
    {
        [Opcode("DE/1 m16", OperandSize = 16 | 32, AddressSize = 16 | 32)]
        public static void MultiplyInt16(VirtualMachine vm, short value)
        {
            vm.Processor.FPU.ST0 *= value;
        }

        [Opcode("DA/1 m32", OperandSize = 16 | 32, AddressSize = 16 | 32)]
        public static void MultiplyInt32(VirtualMachine vm, int value)
        {
            vm.Processor.FPU.ST0 *= value;
        }
    }
}
